﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectBrand.ascx.cs" Inherits="Besture.UI.Admin.Control.SelectBrand" %>

<img src="<%=RequiredImageUrl %>" align="absMiddle" /><input id="SelectProductClass_Select" type="button" class="button" onclick="ShowClassTree(); return false;"
                                value="<%=_LineModel.CategoryName %>" />
<!--类别ID-->
<asp:TextBox runat="server" ID="txtClassID"  class='SelectProductClass_SelectClassID '  style="display: none;" ></asp:TextBox>
<script type="text/javascript">
    function ShowClassTree() {
        var selectClassID = $(".SelectProductClass_SelectClassID").val();
        var param = "ClassID=" + selectClassID;

        if ("<%=NeedTopLevel %>" == "True") {
            param += "&TopLevel=1";
        }
        $.dialog({
            title: '选择品牌',
            lock: true,
            content: 'url:/Admin/Common/SelectBrandTree.aspx?' + param,
            max: false,
            min: false,
            resize: true,
            width: '400px',
            height: '400px'
        });
    }

</script>